exports.keys = "egg-example_1593515337692_528";
exports.view = {
  defaultViewEngine: "nunjucks",
  mapping: {
    ".tpl": "nunjucks",
  },
};
// add middleware robot
exports.middleware = ["robot"];
// robot's configurations
exports.robot = {
  ua: [/Baiduspider/i],
};

exports.tencent = {
  SecretId: "AKIDR2WuQh51xjIhujGkvKVVVHkyvhDbaeL2",
  SecretKey: "f7O1g9OhY8VffZFTqx0qS9ctwiFXdXO6",
  Region: "ap-nanjing",
  Bucket: "ghimg-1257912392",
  Prefix: "https://ghimg.licoded.site/",
};

exports.security = {
  csrf: {
    enable: false,
  },
};

exports.mysql = {
  // 单数据库信息配置
  client: {
    // host
    host: "localhost",
    // 端口号
    port: "3306",
    // 用户名
    user: "record",
    // 密码
    password: "record",
    // 数据库名
    database: "records",
  },
  // 是否加载到 app 上，默认开启
  app: true,
  // 是否加载到 agent 上，默认关闭
  agent: false,
};
